$OpenBSD: patch-server_gkrellmd_h,v 1.10 2017/04/23 13:48:29 sthen Exp $
--- server/gkrellmd.h.orig	Wed Feb  1 23:39:01 2017
+++ server/gkrellmd.h	Wed Feb  1 23:40:32 2017
@@ -128,12 +128,12 @@ GKRELLMD_VERSION_REV >= (rev)))
 
 #define GKRELLMD_PLUGINS_DIR		".gkrellm2/plugins-gkrellmd"
 #if !defined(WIN32)
-	#define GKRELLMD_LOCAL_PLUGINS_DIR	"/usr/local/lib/gkrellm2/plugins-gkrellmd"
+	#define GKRELLMD_LOCAL_PLUGINS_DIR	"${PREFIX}/lib/gkrellm2/plugins-gkrellmd"
 	#if !defined(GKRELLMD_SYSTEM_PLUGINS_DIR)
-		#define GKRELLMD_SYSTEM_PLUGINS_DIR	"/usr/lib/gkrellm2/plugins-gkrellmd"
+		#define GKRELLMD_SYSTEM_PLUGINS_DIR	"${PREFIX}/lib/gkrellm2/plugins-gkrellmd"
 	#endif
-	#define GKRELLMD_SYS_ETC	"/etc"
-	#define GKRELLMD_LOCAL_ETC	"/usr/local/etc"
+	#define GKRELLMD_SYS_ETC	"${SYSCONFDIR}"
+	#define GKRELLMD_LOCAL_ETC	"${SYSCONFDIR}"
 #endif // !defined(WIN32)
 
 
